﻿@using AVISOutBound.SSOServer.Web.Startup
@{
    ViewBag.ActiveMenu = PageNames.Home;
}
@section scripts
    {
    <environment names="Development">
        <script src="~/js/views/home/index.js"></script>
    </environment>
    <environment names="Staging,Production">
        <script src="~/js/views/home/index.min.js"></script>
    </environment>
}
<h2>这个是SSO单点服务的首页，需要定制开发</h2>
<a asp-action="Login" asp-controller="Account">登录界面</a>
<p>测试用户名为：18367300126@abg.com   密码：123qwe* 手机号码是：18367300126</p>
<br />
<br />
@if (!string.IsNullOrEmpty(ViewBag.UserId))
{
    <div>以下会显示登录的用户信息：</div>
    <p>用户名为：@ViewBag.UserId</p>
    <form asp-area="" asp-controller="Account" asp-action="Logout" method="post" id="logoutForm" class="navbar-left">
        <ul class="nav navbar-nav navbar-right">
            <li>
                <button type="submit" class="btn btn-link navbar-btn navbar-link">退出系统</button>
            </li>
        </ul>
    </form>
}
<div class="row">
    <div class="col-lg-12">
        @L("Home_Description")
    </div>
</div>
